﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WXYW.DAL;

namespace WXYW.BLL
{
    public class ApplicationQuatationFormModel
    {
        public List<QuatationFormModel> Products { get; set; }
        public double TotalPrices { get; set; }
        public User Client { get; set; }
        public string RunningNumber { get; set; }
        public string ApplicationCode { get; set; }
        public DateTime ReceiveTime { get; set; }
        public DateTime QuatationTime { get; set; }
        public string ContactPhone { get; set; }
    }

    public class ConfirmQuatationProductModel
    {
        public string ProductType { get; set; }
        public string SerialNumber { get; set; }
        public string ReapairAccessory { get; set; }
        public double Cost { get; set; }
        public string IsBWBA { get; set; }
        public long ApplicationProductID { get; set; }
        public bool? isConfirmRepair { get; set; }
        public bool IsReturnToFactory { get; set; }
        public string Engineer { get; set; }
        public bool ApplySpecialService { get; set; }
        public string BLXX { get; set; }
        public string ProblemDescription { get; set; }
        public string ProductRepairType { get; set; }
        public string ReturnToFactoryStatus { get; set; }
        public string SpecialServiceStatus { get; set; }
    }

    public class QuatationFormModel
    {
        public string RMACode { get; set; }
        public string ReceiveTime { get; set; }
        public string ProductType { get; set; }
        public string ProductVersionNumber { get; set; }
        public int Count { get; set; }
        public string RepairAccessory { get; set; }
        public string PayReason { get; set; }
        public double Cost { get; set; }
        public string Remark { get; set; }
        public string ProductSerialNumber { get; set; }
        public string ProductRepairType { get; set; }
        public bool IsReturnToFactory { get; set; }
        public string BLXX { get; set; }
        public string ProblemDescription { get; set; }
        public string Engineer { get; set; }
    }

    public class PostSecurityModel
    {
        public int PostID { get; set; }
        public int UserTypeID { get; set; }
        public string UserType { get; set; }
        public bool HasPermission { get; set; }
    }
}
